# @summary A short summary of the purpose of this class
#
# A description of what this class does
#
# @example
#   include lzu::gridce_server
class lzu::gridce_server {
  $condor_pkg = [
      "condor",
      "condor-classads",
      "condor-kbdd",
      "condor-procd",
      "condor-externals",
      "python3-condor",
      "python3-scitokens",
  ]
  yumrepo { "condor":
    baseurl => "http://${mirrorserver}/yum/condor/repo/10.x/el${operatingsystemmajrelease}/x86_64/release",
    descr => "condor",
    enabled => 1,
    gpgcheck => 0,
    priority => 20,
    before   => Yumrepo['site'],
  }

  package { $condor_pkg:
    ensure  => installed,
    require => Yumrepo['site'],
  }
}
